<template>
  <div>
    <div class="parameter">
      <div class="Tit-text">{{ label }}</div>
      <div class="item-text" v-for="(child, i) in data" :key="i">
        <div v-for="(key, inx) in child" :key="inx" class="tr">
          <div class="name">
            {{ key.label }}
          </div>
          <div class="value">
            {{ key.value }}
          </div>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {};
  },
  props: {
    data: Array,
    label: String,
  },
};
</script>

<style scoped>
.parameter{
text-align: left;
}
.item-text{
 border-bottom:0.5px solid rgb(179, 173, 173) ;
}
.Tit-text{
  height: 47px;
    display: inline-block;
    font-size: 1.5rem;
    color: #000;
    line-height: 1;
    font-weight: 400;
    margin-top: .11rem;
    border-bottom:0.5px solid rgb(179, 173, 173) ;
    width: 100%;
}
.tr{
  display: inline-block;
  width: 50%;
  height: 52px;
  
  /* border-bottom: 1px solid gray; */
}
.name{
  display: inline-block;
  width: 294px;
  height: 100%;
  line-height: 52px;
}
.value{
  width: 294px;
  height: 100%;
  line-height: 52px;
  display: inline-block;
}
</style>